package cn.iocoder.yudao.module.wine.controller.app.leaveinfo.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "用户 APP - 发布离职通告分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppLeaveInfoPageReqVO extends PageParam {

    @Schema(description = "关键词搜索", example = "关键词搜索")
    private String keywords;

    @Schema(description = "用户id", example = "28048")
    private Long userId;

    @Schema(description = "地区id", example = "28048")
    private Integer areaId;

    @Schema(description = "信息名称", example = "李四")
    private String infoName;

    @Schema(description = "姓名", example = "王五")
    private String realName;

    @Schema(description = "身份证")
    private String idCard;

    @Schema(description = "性别")
    private String sex;

    @Schema(description = "出生日期")
    private String birthday;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "单图")
    private String image;

    @Schema(description = "多图")
    private String images;

    @Schema(description = "描述", example = "你说的对")
    private String description;

    @Schema(description = "置顶")
    private Integer isTop;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "审核中 0  审核通过1  审核拒绝2")
    private Integer audit;
    /**
     * 商家信用等级，关联business_credit表信用等级level值
     * 入驻商家--1,认证商家--2,商家团长--3,个人团长--4，保证金用户--5
     */
    @Schema(description = "商家信用等级", example = "1")
    private Integer creditId;

    @Schema(description = "信用等级名称", example = "信用等级名称")
    private String creditName;

    @Schema(description = "保证金内容", example = "1.5W")
    private String bondName;
}
